//
//  Team9FlowerViewController.m
//  Team9Project
//
//  Created by 朱嘉祺 on 15/10/21.
//  Copyright © 2015年 apple. All rights reserved.
//

#import "Team9FlowerViewController.h"
#import "Team9JQHeader.h"
#import "Team9ExpertUserModel.h"


@interface Team9FlowerViewController ()

@end

@implementation Team9FlowerViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (void)createData{
//    NSLog(@"%@", self.url);
//    [JQAFNetworkTool getUrl:self.url success:^(id result) {
//        self.array = [Team9ExpertUserModel baseModelByArr:result[@"data"][@"user_home_follower_list"][@"users"]];
//    }];
    self.tool = [Team9RefreshTool toolWithScrollView:self.tableView url:self.url style:^NSArray *(id result) {
        return [Team9ExpertUserModel baseModelByArr:result[@"data"][@"user_home_follower_list"][@"users"]];
    } refresh:^(NSArray *array) {
        self.array = array;
    } empty:self.empty];
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
